﻿namespace Service
{
    public interface IDictService
    {
        /// <summary>
        /// 根据父节点code和字典值获取字典文本
        /// </summary>
        /// <param name="parentCode"></param>
        /// <param name="value"></param>
        /// <returns></returns>
        public string GetTextByParentCode(string parentCode, string value);

        /// <summary>
        /// 根据字典值获取字典文本
        /// </summary>
        /// <param name="value"></param>
        /// <returns></returns>
        public string GetTextByValue(string value);
    }
}